<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>Document</title>
    <style>
        
    </style>
</head>
<body>
    
</body>
<script>
    function Fn(n, a, s){
        // 加工
        this.name = n;
        this.age = a;
        this.sex = s;
    }

    const f1 = new Fn("admin", 18, "男");
    const f2 = new Fn("root", 20, "女");
    const f3 = new Fn("jack", 17, "男");

    console.log(f1)
    console.log(f2)
    console.log(f3)

    console.log(f3 === f1)
    console.log(f3 === f2)
    console.log(f1 === f2)

    

</script>
</html>